<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>供应商信息</title>
    <link rel="stylesheet" th:href="@{/static/layui/css/layui.css}" media="all">
    <link rel="stylesheet" th:href="@{/static/admin/style.css}" media="all">
</head>
<body>

<div class="layui-fluid">
    <div class="layui-card">
       <div class="layui-card-body" style="padding: 15px">
           <form class="layui-form layui-form-pane" action="">
               <input name="id" th:value="${obj?.id}" class="layui-input layui-hide"/>
               <div class="layui-form-item">
                   <label class="layui-form-label">供应商名称</label>
                   <div class="layui-input-block">
                       <input type="text" name="name" th:value="${obj?.name}" lay-verify="required" placeholder="请输入供应商名称" autocomplete="off" class="layui-input">
                   </div>
               </div>
               <div class="layui-form-item">
                   <label class="layui-form-label">供应商描述</label>
                   <div class="layui-input-block">
                       <textarea  name="content" th:text="${obj?.content}" lay-verify="required" placeholder="请输入供应商描述" autocomplete="off" class="layui-textarea"></textarea>
                   </div>
               </div>
               <div class="layui-form-item layui-hide">
                   <input type="button" lay-submit lay-filter="LAY-front-submit" id="LAY-front-submit" value="确认">
               </div>
           </form>
       </div>
    </div>
</div>

<script th:src="@{/static/layui/layui.js}"></script>

<script>
    layui.use(['form'],function () {
        var $ = layui.$;

    })
</script>
</body>
</html>